package com.ymt.bpm.service.engine.bpd;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * Created by Johnny on 2017/4/6.
 */
public interface BpdAuthService {

    //TODO orgId as realmId
    JSONObject getAuth(String tenantId, int offset,
                      int limit,
                      String bpdId, String orgId,
                       String authType, String memberType);

    JSONObject addAuth(String tenantId,
                       String loginName,
                       String displayName,
                       String bpdId,
                       String orgId,
                       String authType,
                       String memberType,
                       JSONArray members);

    JSONObject delAuth(String tenantId,
                       String loginName,
                       String displayName,
                       String bpdId, String orgId, String authType, String memberType, String memberId);

}
